/*!
 * Created by Toma on 2016-6-29 17:07:25
 * 传世宝 @version 1.0.1
 */

var cc = window.cc || {};
cc.pro = new function () {
  var self = this;

  (function () {
    $('.href').tap(function () {
      window.location.href = $(this).data('href');
    })
  })();

  /* 文章列表 */
  self.list = function () {
    /* 轮播图 */
    var slider = new fz.Scroll('.ui-slider', {
      role: 'slider',
      indicator: true,
      autoplay: true,
      interval: 3000
    });
  };

  /* 排行 */
  self.ranking = function () {
    /* Tab */
    var tab = new fz.Scroll('.ui-tab', {role: 'tab'});
  };

};